package com.dhecp.project.storage.domain;

import java.io.Serializable;
import java.util.Date;

import com.dhecp.common.annotation.ForUpdate;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 库存历史状况 实体
 * @author DH-Xxj
 * @version 2023年3月17日
 */
public class StockControlHistory  implements Serializable {
	
	private static final long serialVersionUID = 1L;

    private String guid;		//唯一标识
	@ForUpdate(fieldName = "入库Guid")
    private String rkGuid;		//入库Guid
	@ForUpdate(fieldName = "入库单号")
    private String rkBid;		//入库单号
	@ForUpdate(fieldName = "采购公司编码")
    private String cid;			//采购公司编码
	@ForUpdate(fieldName = "货位编码")
    private String vHw;			//货位编码
	@ForUpdate(fieldName = "库区")
    private String vKq;			//库区
	@ForUpdate(fieldName = "所在仓库")
    private String gDepot;		//所在仓库
	@ForUpdate(fieldName = "商品名称")
    private String productName;				//商品名称
	@ForUpdate(fieldName = "商品编码")
    private String productCode;				//商品编码
	@ForUpdate(fieldName = "商品可用数量")
    private Integer productNum;				//商品可用数量
	@ForUpdate(fieldName = "商品总数量")
    private Integer productNumAll;			//商品总数量
	@ForUpdate(fieldName = "商品采购价")
    private Double purchasePrice;			//商品采购价
	@ForUpdate(fieldName = "采购总价")
    private Double purchaseTotalPriceAll;	//采购总价
	@ForUpdate(fieldName = "调拨单价")
    private Double allotPrice;				//调拨单价
	@ForUpdate(fieldName = "调拨总价")
    private Double totalAllotPrice;			//调拨总价
	@ForUpdate(fieldName = "库存天数")
    private Integer sDays;					//库存天数
	@ForUpdate(fieldName = "组装单")
    private String assembleID;				//组装单
	@ForUpdate(fieldName = "采购入库单")
    private String purchaseStorageID;		//采购入库单
	@ForUpdate(fieldName = "采购订单")
    private String purchaseOrderID;			//采购订单
	@ForUpdate(fieldName = "采购计划单")
    private String purchasePlanID;			//采购计划单
	@ForUpdate(fieldName = "所属公司名称")
    private String vGsMc;		//所属公司名称
	@ForUpdate(fieldName = "所属公司简称")
    private String vGsJc;		//所属公司简称
	@ForUpdate(fieldName = "所属公司编码")
    private String vGsBm;		//所属公司编码
	@ForUpdate(fieldName = "入库时间")
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dRkSj;			//入库时间
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;	//创建日期
	private String isParent; // 是否母件
	private Integer version;
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recordTime;	//记录时间
    
	public String getGuid() {
		return guid;
	}
	public void setGuid(String guid) {
		this.guid = guid;
	}
	public String getRkGuid() {
		return rkGuid;
	}
	public void setRkGuid(String rkGuid) {
		this.rkGuid = rkGuid;
	}
	public String getRkBid() {
		return rkBid;
	}
	public void setRkBid(String rkBid) {
		this.rkBid = rkBid;
	}
	public String getCid() {
		return cid;
	}
	public void setCid(String cid) {
		this.cid = cid;
	}
	public String getvHw() {
		return vHw;
	}
	public void setvHw(String vHw) {
		this.vHw = vHw;
	}
	public String getvKq() {
		return vKq;
	}
	public void setvKq(String vKq) {
		this.vKq = vKq;
	}
	public String getgDepot() {
		return gDepot;
	}
	public void setgDepot(String gDepot) {
		this.gDepot = gDepot;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public String getProductCode() {
		return productCode;
	}
	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}
	public Integer getProductNum() {
		return productNum;
	}
	public void setProductNum(Integer productNum) {
		this.productNum = productNum;
	}
	public Integer getProductNumAll() {
		return productNumAll;
	}
	public void setProductNumAll(Integer productNumAll) {
		this.productNumAll = productNumAll;
	}
	public Double getPurchasePrice() {
		return purchasePrice;
	}
	public void setPurchasePrice(Double purchasePrice) {
		this.purchasePrice = purchasePrice;
	}
	public Double getPurchaseTotalPriceAll() {
		return purchaseTotalPriceAll;
	}
	public void setPurchaseTotalPriceAll(Double purchaseTotalPriceAll) {
		this.purchaseTotalPriceAll = purchaseTotalPriceAll;
	}
	public Double getAllotPrice() {
		return allotPrice;
	}
	public void setAllotPrice(Double allotPrice) {
		this.allotPrice = allotPrice;
	}
	public Double getTotalAllotPrice() {
		return totalAllotPrice;
	}
	public void setTotalAllotPrice(Double totalAllotPrice) {
		this.totalAllotPrice = totalAllotPrice;
	}
	public Integer getsDays() {
		return sDays;
	}
	public void setsDays(Integer sDays) {
		this.sDays = sDays;
	}
	public String getAssembleID() {
		return assembleID;
	}
	public void setAssembleID(String assembleID) {
		this.assembleID = assembleID;
	}
	public String getPurchaseStorageID() {
		return purchaseStorageID;
	}
	public void setPurchaseStorageID(String purchaseStorageID) {
		this.purchaseStorageID = purchaseStorageID;
	}
	public String getPurchaseOrderID() {
		return purchaseOrderID;
	}
	public void setPurchaseOrderID(String purchaseOrderID) {
		this.purchaseOrderID = purchaseOrderID;
	}
	public String getPurchasePlanID() {
		return purchasePlanID;
	}
	public void setPurchasePlanID(String purchasePlanID) {
		this.purchasePlanID = purchasePlanID;
	}
	public String getvGsMc() {
		return vGsMc;
	}
	public void setvGsMc(String vGsMc) {
		this.vGsMc = vGsMc;
	}
	public String getvGsJc() {
		return vGsJc;
	}
	public void setvGsJc(String vGsJc) {
		this.vGsJc = vGsJc;
	}
	public String getvGsBm() {
		return vGsBm;
	}
	public void setvGsBm(String vGsBm) {
		this.vGsBm = vGsBm;
	}
	public Date getdRkSj() {
		return dRkSj;
	}
	public void setdRkSj(Date dRkSj) {
		this.dRkSj = dRkSj;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getIsParent() {
		return isParent;
	}
	public void setIsParent(String isParent) {
		this.isParent = isParent;
	}
	public Integer getVersion() {
		return version;
	}
	public void setVersion(Integer version) {
		this.version = version;
	}
	public Date getRecordTime() {
		return recordTime;
	}
	public void setRecordTime(Date recordTime) {
		this.recordTime = recordTime;
	}
	
}
